﻿<!DOCTYPE html>
<html>
<head>
    <meta name="viewport" content="initial-scale=1.0, user-scalable=no">
    <meta charset="utf-8">
    <link href="Content/Site.css" rel="stylesheet" />
    <title>Places search box</title>
    <script src="https://maps.googleapis.com/maps/api/js?v=3.exp&sensor=false&libraries=places"></script>
    <script src="Scripts/myscript.js"></script>
    <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.7.1/jquery.min.js"></script>
    <script src="https://ajax.googleapis.com/ajax/libs/jqueryui/1.8.17/jquery-ui.min.js"></script>
    <link rel="stylesheet" href="http://ajax.googleapis.com/ajax/libs/jqueryui/1.8.17/themes/flick/jquery-ui.css" />
</head>
<body>
    <div id="tabs">
        <ul>
            <li><a href="#tabs-1">Tìm địa điểm</a></li>
            <li><a href="#tabs-2">Tìm đường</a></li>
            <li><a href="#tabs-3">...</a></li>
        </ul>
        <div id="tabs-1">
            <label>Nhập địa chỉ: <input id="pac-input" class="controls" type="text" placeholder="Search Box"></label>
            <label><button class="controls" onclick="getCurrentPosition()">Tìm</button></label>
            <label style="float:right;"><span>Vị trí của tôi:</span> <button class="controls" onclick="getCurrentPosition()" style="background-image:url(Images/icon_gps.png); width:30px;height:40px"></button></label>
            
        </div>
        <div id="tabs-2">
            <label>A: <input  id="start" type="text" placeholder="điểm bắt đầu"></label>
            <label>B: <input  id="end" type="text" placeholder="điểm đến"></label>
            <select id="mode" onchange="">
                    <option value="DRIVING">Driving</option>
                    <option value="WALKING">Walking</option>
                    <option value="BICYCLING">Bicycling</option>
                    <option value="TRANSIT">Transit</option>
                </select>
            <label><button class="controls" onclick="timduong()">Tìm</button></label>
        </div>
        <div id="tabs-3">
        </div>
    </div>
    <div id="map-canvas"></div>
    <script>
        $(function () {
            $("#tabs").tabs();
        });
    </script>
</body>
</html>
